#ifndef INPUT_H
#define INPUT_H

//#include "../capture.h"

typedef struct _INPUT_PARAMETER INPUT_PARAMETER;
struct _INPUT_PARAMETER {
    int id;
    char *parameters;
    int argc;
    //char *argv[MAX_PLUGIN_ARGUMENTS];
    //GLOBALS *pGlobal;
};


/* structure to store variables/functions for input plugin */
typedef struct _INPUT INPUT;
struct _INPUT {
    char *plugin;
    void *handle;
    INPUT_PARAMETER param;

    int (*init)(char *inputParam, void *pglobal);
    int (*stop)(void);
    int (*run)(void);
    //int (*cmd)(in_cmd_type, int);
}; 

#endif
